package com.hw.one.dam2.service;

import java.util.List;
import java.util.Map;

import javax.servlet.http.HttpServletRequest;

import com.hw.one.dam2.entity.PollutionIndustryEntity;

/**
 * 工业废水 service
 * 
 * @author alicke
 *
 */
public interface IWaterPollutionService {
	/**
	 * 根据点位编码和排口，获取工业废水最新小时数据
	 * 
	 * @param siteCodeList
	 * @param outputCodeList
	 * @return
	 * @throws Exception
	 */
	@SuppressWarnings("rawtypes")
	List<Map> findWaterPollutionNewHourDataByPSCodeAndOutputCodes(List<String> siteCodeList) throws Exception;
	
	/**
	 * 根据点位编码和时间段，获取工业废水的数据
	 * 
	 * @param paramPO
	 * @param collectionName
	 * @return
	 * @throws Exception
	 */
	List<PollutionIndustryEntity> findWaterPollutionDataByPSCode(HttpServletRequest request) throws Exception;

	/**
	 * 根据点位编码，获取最近12小时的小时数据
	 * 
	 * @param siteCode
	 * @return
	 */
	List<PollutionIndustryEntity> findWaterPollutionLast12HourDataBySiteCode(String siteCode);
	
}
